package org.zhxy.zhxy.dao;

import org.apache.ibatis.annotations.Param;
import org.zhxy.zhxy.entity.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @InterfaceName NoticeDao
 * @Description 公告表(Notice)表数据库访问层
 * @author yayong
 * @date 2024-10-19 21:27:30
 * @Version 1.0
 **/
public interface NoticeDao extends BaseMapper<Notice>{

     List<Notice> selectNotices(@Param("page") int page, @Param("pageSize") int pageSize);

     Long countNotices();
 }

